include ./config/.config
include ./config/ftr-build.mk

all: .modules app


include ftr.mk


#app: .modules
#	@echo -e "\033[33m gen $(APP_NAME)..... \033[0m"
#	$(Q)$(CXX) -O2 -o $(APP_NAME) -Wl,--start-group $(LIBS) $(MODULES) -Wl,--end-group $(INCLUDE) $(CFLAGS) $(LDFLAGS)

app:.app

clean: .modules_clean .app_clean
	rm -rf $(APP_NAME)

.app: $(APPS)
.app_clean: $(APPS_CLEAN)
.modules:$(PRE_MODULES) $(MODULES) $(POST_MODULES)
.modules_clean: $(MODULES_CLEAN)
